//
//  AppDelegate.h
//  DietitianAcademy
//
//  Created by 王鹏飞 on 16/3/9.
//  Copyright © 2016年 中旭善业网络科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (copy) void (^backgroundURLSessionCompletionHandler)();

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;


@property (nonatomic, assign)BOOL isDeveloper;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;


@end

